package com.xinke.module.system.model.vo.logger;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.xinke.component.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.xinke.component.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 操作日志记录 V2 版本分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OperateLogPageReqVO extends PageParam {

    @Schema(description = "链路追踪编号", example = "23207")
    private String traceId;

    @Schema(description = "用户编号", example = "30912")
    private Long userId;

    @Schema(description = "用户类型", example = "2")
    private Integer userType;

    @Schema(description = "操作模块类型", example = "1")
    private String operateType;

    @Schema(description = "操作名", example = "李四")
    private String operateName;

    @Schema(description = "操作数据模块编号", example = "17715")
    private Long bizId;

    @Schema(description = "操作内容")
    private String operateContent;

    @Schema(description = "操作结果")
    private Integer operateSuccess;

    @Schema(description = "拓展字段")
    private String operateExtra;

    @Schema(description = "请求方法名")
    private String requestMethod;

    @Schema(description = "请求地址", example = "https://www.iocoder.cn")
    private String requestUrl;

    @Schema(description = "用户 IP")
    private String userIp;

    @Schema(description = "浏览器 UA")
    private String userAgent;

}